package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.UserMedicalCard;

import java.util.List;

public interface UserMedicalCardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserMedicalCard record);

    int insertSelective(UserMedicalCard record);

    UserMedicalCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserMedicalCard record);

    int updateByPrimaryKey(UserMedicalCard record);

    List<UserMedicalCard> selectByNameOrPhoneOrGender(String name, String phone, Integer gender);

    UserMedicalCard selectByIdentificationNumber(String identificationNumber);
}